//
//  ThemeButton.swift
//  kxf
//
//  Created by Mac on 2024/3/7.
//

import Foundation
import UIKit
import MCToast

class ThemeButton: UIView {
    
    let selfHeight = kFitWidth(56)
    var maxLength = 20
    
    var getCodeBlock:(()->())?
    var getCodeTime = 60
    
    var tapBlock:(()->())?

    override init(frame:CGRect){
        super.init(frame: CGRect.init(x: 0, y: frame.origin.y, width: SCREEN_WIDHT, height: selfHeight))
        self.backgroundColor = .clear
        self.isUserInteractionEnabled = true
        
        initUI()
    }
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}

extension ThemeButton{
    func initUI() {
        
    }
}
